package tt.com.depositmessage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import tt.com.common.model.Dead;
import tt.com.common.model.TombDeposit;
import tt.com.common.model.TombLand;
import tt.com.common.model.YxCommonServeProviders;
import tt.com.common.util.PageUtil;
import tt.com.depositmessage.vo.DeadMessageVo;

import java.util.List;

public interface DepositMapper extends BaseMapper<TombDeposit> {

    List<TombDeposit> selDepositMessage(@Param(value = "page") PageUtil pageUtil ,@Param(value = "tomb") TombDeposit tombDeposit);

    List<TombLand> showTombLand();

    int updateMoveBoneStatus(@Param(value = "id") String id);
    //查询墓地信息
    List<TombLand> selTombLandMessage(@Param(value = "id") String id);

    int updateTombLand(@Param(value = "id") String id,@Param(value = "status") int status);

    List<DeadMessageVo> selDeadMessageVo(@Param(value = "tomb") TombDeposit tombDeposit);
    //修改逝者表骨灰迁出去向
    int updateDeadBonb(@Param(value = "deadId") String deadId,@Param(value = "address") String address);
    //修改墓地信息
    int updateTomeLand1(@Param(value = "id")String id);

}
